//  数据模拟
var data = {
    "IsOpenAccount":{"login_response":{"res_sign":"C355F78CC97BAB55CA5ED4FFA809A83A","res_timestamp":20171212091436,"resp_code":1202,"resp_msg":"收银员已开户"}},
    nowDate: {
        "today_response": {
            "today": "20170911"
        }
    },
    staffsdata: {
        "cashier_response": {
            "res_timestamp": 20170913161622,
            "res_sign": "F7DFE9D4B172FA86D0842F2A4247D551",
            "total": 122,
            "resp_msg": "查询营业员信息成功",
            "resp_code": "0000",
            "cashier_info": [{
                "cashno": 655,
                "name": "吃吃吃",
                "mobile": 17602174570
            }, {
                "cashno": 601,
                "name": "测试",
                "mobile": 17073547119
            }, {
                "cashno": 600,
                "name": "测试",
                "mobile": 17073547118
            }, {
                "cashno": 599,
                "name": "测试",
                "mobile": 17073547117
            }, {
                "cashno": 598,
                "name": "测试",
                "mobile": 17073547116
            }, {
                "cashno": 597,
                "name": "测试",
                "mobile": 17073547115
            }, {
                "cashno": 596,
                "name": "测试",
                "mobile": 17073547114
            }, {
                "cashno": 594,
                "name": "测试2",
                "mobile": 17073547113
            }, {
                "cashno": 593,
                "name": "测试2",
                "mobile": 17073547112
            }, {
                "cashno": 592,
                "name": "测试2",
                "mobile": 17073547111
            }, {
                "cashno": 591,
                "name": "测试2",
                "mobile": 17073547110
            }, {
                "cashno": 590,
                "name": "测试2",
                "mobile": 17073547109
            }, {
                "cashno": 589,
                "name": "测试2",
                "mobile": 17073547108
            }, {
                "cashno": 569,
                "name": "测试2",
                "mobile": 17073547088
            }, {
                "cashno": 459,
                "name": "栗子琪",
                "mobile": 18621966685
            }]
        }
    },
    record: { // 交易记录
        "tltdtrans_response": {
            "res_timestamp": 20170927140923,
            "res_sign": "F3EE75B11072193E1945162FA22F1E41",
            "trans_info_arrays": {
                "trans_info": [{
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A2",
                    "trans_seq": 4,
                    "trans_date": 20170921165706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 80000,
                    "trans_type": "02",
                    "trans_amt": 80000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170919155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "02",
                    "trans_amt": 10000,
                    "order_id": "031505807688128464190"
                }, {
                    "trans_time": 155706,
                    "trans_status": "A1",
                    "trans_seq": 4,
                    "trans_date": 20170920155706,
                    "term_id": 15921736852,
                    "stage_count": "01",
                    "goods_Amount": 10000,
                    "trans_type": "01",
                    "trans_amt": 90000,
                    "order_id": "031505807688128464190"
                }]
            },
            "resp_msg": "查询交易流水成功",
            "resp_code": "0000"
        }
    },
    record2: {
        "xtsd_trans_response": {
            "res_sign": "EE8B0FBC746474DAD6DD902BC5105CF6",
            "res_timestamp": 20171018150915,
            "resp_code": "0000",
            "resp_msg": "查询交易流水成功",
            "trans_info_arrays": {
                "trans_info": [{
                    "borrow_days": 0,
                    "channal_no": "01",
                    "credit_Card_No": 6259986239281023,
                    "cuast_name": "李红",
                    "goods_Amount": 7500,
                    "mer_abbr": 123123,
                    "mer_name": 123124123,
                    "nt": "0000:消费成功",
                    "order_id": "031507705008694154482",
                    "repayCard": 6216665000001788266,
                    "repayType": "01",
                    "repay_state": "01",
                    "trans_date": 20171011150245,
                    "trans_seq": 94,
                    "trans_status": "A1",
                    "trans_type": "02"
                }]
            }
        }
    },
    tdetail: {
        "tltdtrans_response": {
            "res_timestamp": 20171010171253,
            "res_sign": "071A0EAE1F752F9FA241412A2B9FC9F3",
            "trans_info_arrays": {
                "trans_info": [{
                    "trans_time": 105644,
                    "trans_status": "A1",
                    "trans_seq": 1000000001,
                    "trans_date": 20170907105644,
                    "term_id": 18788988876,
                    "stage_count": "01",
                    "goods_Amount": 1000.88,
                    "trans_type": "02",
                    "trans_amt": 1000.88,
                    "order_id": 2017090700001
                }]
            },
            "resp_msg": "查询流水明细成功",
            "resp_code": "0000"
        }
    }

};

// 取是否绑定银行卡
function getIsOpenAccount(argument) {
    return this.data.IsOpenAccount;
}
// 取是否绑定银行卡
function getIsOpenAccount(argument) {
    return this.data.IsOpenAccount;
}

// 订单详情
function getDetail() {
    return this.data.tdetail;
}

// 取现在时间
function getNowDate() {
    return this.data.nowDate;
}

// 取商户的营业员
function getStaffsData() {
    return this.data.staffsdata;
}

function getRecordData() {
    return this.data.record
}

function getRecorData2(argument) {
    return this.data.record2;
}

module.exports = {
    "data": data,
    "getNowDate": getNowDate,
    'getStaffsData': getStaffsData,
    'getRecordData': getRecordData,
    'getDetail': getDetail,
    'getRecorData2': getRecorData2,
    'getIsOpenAccount': getIsOpenAccount,
    'getIsOpenAccount': getIsOpenAccount
};
